package com.lfy.dao;

import com.lfy.domian.User;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

public interface UserDao {
    User selectUser(String id);
    List<User> selectUserList();
    int updateUserById(User user);
    int TestupdateUserById(User user);
    int deleteUserById(String id);

    int updateUserListById(List<User> users);
    @Insert("insert into signusers values (#{userid},#{school},#{passwd},#{email},#{cdkey},#{phone},#{status})")
    int insertUser(User user);
//    int deleteUserListById(List<User> users);
}
